keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

missing callerid in mISDN & bristuff - B100P

13 years 11 months ago #5586 by Joe.Yung
Hello, Generally,if your has CallerID feature,please try the following method: (If you are not sure whether it has or not,please confirm it firstly)

Try to set the values of pridialplan,prilocaldialplan to "unknown" in /etc/asterisk/zapata.conf , like:
signalling=bri_cpe_ptmp
pridialplan=unknown
prilocaldialplan=unknown


If you don't have these parameters, please add them to there.

i] Last edited by Joe.Yung at 2010-5-12 09:30 [/i

13 years 11 months ago #5587 by pablo
Hello,
ok, i've modified zapata.conf but the results are the same. In verbose mode 3, i get this in Asterisk CLI:

-- Executing Wait("Zap/2-1", "1") in new stack
-- Accepting voice call from '' to '958304495' on channel 0/2, span 1
-- Executing Answer("Zap/2-1", "") in new stack
-- Executing NoOp("Zap/2-1", "incoming dialer") in new stack
-- Executing NoOp("Zap/2-1", "Callerid is: ") in new stack <
see below **
-- Executing NoOp("Zap/2-1", "Date is: 12052010-12:55:24") in new stack
-- Executing Dial("Zap/2-1", "SIP/101|30|tTwW") in new stack
-- Called 101
-- SIP/101-0a026668 is ringing
-- Channel 0/2, span 1 got hangup request, cause 16
== Spawn extension (entrantes, 958304495, 6) exited non-zero on 'Zap/2-1'

** In dialplan (extensions.conf), i wrote this sentence for capture the missing Callerid but it seems empty:
exten => 958304495,n,Noop(Callerid is: ${CALLERID(num)})

Telco assures me is giving the callerid in the isdn line.

Thanks.
13 years 11 months ago #5588 by Joe.Yung
Hello,
add these parameters in /etc/asterisk/zapata.conf
callerid=asreceived
usecallerid=yes

and have a try this sample dialplan in /etc/asterisk/extensions.conf
exten=>_X.,1,SetCIDNum(${PRI_NETWORK_CID})
exten=>_X.,2,Dial(SIP/NNN)
exten=>_X.,n,Hangup()

where NNN is the sip number that you have registered. and remember restart driver after your modification.

13 years 11 months ago #5589 by pablo
Hello,
ok, now my zapata.conf contains this.
[trunkgroups]
[channels]
group=2
context=entrantes
signalling=bri_cpe_ptmp
pridialplan=unknown
prilocaldialplan=unknown
callerid=asreceived
usecallerid=yes
channel => 1-2

extensions.conf was modified too with the simple dialplan posted.

I've stopped /etc/init.d/zaptel and unload zaptel and zaphfc driver. The next step is load both drivers, start /etc/init.d/zaptel and start asterisk with verbose mode 3. Make a call from external and i obtain this:

-- Executing SetCIDNum("Zap/2-1", "") in new stack
-- Executing Dial("Zap/2-1", "SIP/102") in new stack
-- Accepting voice call from '' to '958304495' on channel 0/2, span 1
-- Called 102
-- SIP/102-09441fb8 is ringing
-- Channel 0/2, span 1 got hangup, cause 16
== Spawn extension (entrantes, 958304495, 2) exited non-zero on 'Zap/2-1'
-- Hungup 'Zap/2-1'

The SIP phone received the call but the callerid in LCD panel was "Anonymous" because i suppose is the default when there is no callerid present.

Regards.

i] Last edited by pablo at 2010-5-12 20:53 [/i
13 years 11 months ago #5592 by james.zhu
hello:
what is this: '958304495'? please use ztmonitor to record the callerid and post there.

13 years 11 months ago #5595 by pablo
Hello,

958304495 is the called phone number (not incoming number).

Sorry, i dont know howto use ztmonitor to extract the callerid on an zap channel, until now i think it was a tool for redord audio :(. Can you help me with that please ?

Regards.
Time to create page: 0.043 seconds
Powered by Kunena Forum